import axios from "axios"

export type Bank = {
    keyCode: number,
    keyTrigger: string,
    id: string,
    url: string,
    bankUrl: string
}


export type GetMusic = {
    code:number
    msg:string
    value:Bank[]
}

export const getMusicApi = () => {
    return axios.get<GetMusic>('http://zyxcl.xyz/exam_api/music/list')
}